package com.heima.admin.controller;

import com.heima.model.common.dtos.ResponseResult;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description TODO
 * @Author earl
 * @Data 2024/8/21下午6:41
 * @Version 1.0
 */
@RestController
public class Testcontroller {
    @GetMapping("/test")
    public ResponseResult test(){
        return ResponseResult.okResult("访问成功");
    }

}